package com.sdgakj.foton.cloud.dictionary;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Description: 这里包含， Eureka 客户端发现， 熔断， 远程调用, 客户端负载等
 */
@SpringBootApplication
@EnableSwagger2
@EnableDiscoveryClient
@EnableFeignClients
@EnableCircuitBreaker
public class DictionaryServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(DictionaryServiceApplication.class, args);
	}
}
